package com.example.orderfood2.entity;

import java.util.Arrays;

public class StudentAvatar {
    private Integer id;
    private Integer StudentId;
    private byte[] avatar;

    @Override
    public String toString() {
        return "StudentAvatar{" +
                "id=" + id +
                ", StudentId=" + StudentId +
                ", avatar=" + Arrays.toString(avatar) +
                '}';
    }

    public StudentAvatar(Integer id, Integer studentId, byte[] avatar) {
        this.id = id;
        StudentId = studentId;
        this.avatar = avatar;
    }

    public StudentAvatar() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getStudentId() {
        return StudentId;
    }

    public void setStudentId(Integer studentId) {
        StudentId = studentId;
    }

    public byte[] getAvatar() {
        return avatar;
    }

    public void setAvatar(byte[] avatar) {
        this.avatar = avatar;
    }
}
